<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]

// 绑定模块
define('BIND_MODULE','home');
// 加载扩展类
define('EXTEND_PATH', __DIR__ .'/../extend/');
define('STATIC_PATH', __DIR__ .'/static/');
// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');
const ZZ_PHONE="/^1[34578]{1}\d{9}$/";//验证手机正则
const ZZ_PASSWORD="/^[A-Za-z0-9\,\.\*\+\:\-\;\?\=\@\\\!\/\#\$\%\&\"\'\(\)]{6,20}$/";
const ZZ_IMAGE="/((http|https):\/\/)+(\w+\.)+(\w+)[\w\/\.\-]*(jpg|gif|png)/";
const ZZ_MONEY="/^(([1-9]\d*)|\d)(\.\d{1,2})?$/";
// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
